﻿using SqlSugar;
using static DataModels.Enums.GeneralEnum;

namespace DataModels.Entities.WorkOrder
{
    [SugarTable("workordertype")]
    public class WorkOrderType
    {
        [SugarColumn(IsPrimaryKey = true,IsIdentity = true)]
        public int Id { get; set; }

        public int ParentId { get; set; }
        public string Name { get; set; }
        public string WhereToUse { get; set; }

        public Status Status { get; set; } = Status.Enable;

        public DateTime UpdateTime { get; set;} = DateTime.Now;

        public string ServiceTypeCode { get; set; }
        public string ParentServiceTypeCode { get; set; }
        public string TemplateDifId { get; set; }
    }
}
